//
//  OnlinePeopleDataSource.h
//  tcpoctest
//
//  Created by gump on 5/15/13.
//  Copyright (c) 2013 gump. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface OnlinePeopleDataSource : NSObject
{
    int             isex;
    NSMutableArray  *showArr;
    pthread_mutex_t mutexonline;
}

-(int)GetOnlinePeopleOrder;//当前显示男还是女
-(void)AddShowArr:(NSString *)strmail;
-(void)RemoveAll;

-(int)GetShowArrCount;//总数组中元素的个数
-(NSString *)GetObjectByIndex:(int)iindex;
-(void)RemoveObjectByIndex:(int)iindex;

@end
